<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <#include "../common.ftl">
</head>
<body>
<form class="layui-form" style="width:80%;">
    <input name="purchaseId" type="hidden" value="${(quality.purchaseRequestBean.id)!}">
    <@shiro.user>
        <input type="hidden" name="qualityerId" value="<@shiro.principal property="id"></@shiro.principal> ">
    </@shiro.user>
    <input name="qualityId" type="hidden" value="${(quality.id)!}">
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">采购订单</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" readonly
                  name="" value="${(quality.purchaseRequestBean.purchaseNo)!}"
                   placeholder="采购单号">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">采购产品</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" readonly
                   value="${(quality.purchaseRequestBean.materialName)!}"
                   placeholder="采购产品">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">物料编码</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" readonly
                   value="${(quality.purchaseRequestBean.materialNo)!}"
                   placeholder="物料编码">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">采购数量</label>
        <div class="layui-input-block">
            <input type="number" class="layui-input" lay-verify="required" readonly
                   value="${(quality.purchaseRequestBean.purchaseCount)!}"
                   placeholder="采购数量">
        </div>
    </div>
    <hr/>
    <div class="layui-form-item">
        <label class="layui-form-label">审批意见</label>
        <div class="layui-input-block">
            <input type="radio" name="qualityResult" value="0" title="同意" checked="">
            <input type="radio" name="qualityResult" value="1" title="不同意">
        </div>
    </div>


    <div class="layui-form-item layui-row">
        <label class="layui-form-label">描述</label>
        <div class="layui-input-block">
            <textarea placeholder="请输入服务内容" name="qualityDescribe" class="layui-textarea"></textarea>
        </div>
    </div>


    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit=""
                    lay-filter="addQualityResult" id="">确认
            </button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" type="reset" id="resetBtn">重置</button>
        </div>
    </div>
</form>
<script src="${ctx}/layuimini/js/quality/addQualityResult.js" charset="UTF-8"></script>

</body>

</html>

